﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;

namespace PowerHub.MES.Entities.ProductPlanning;

/// <summary>
/// 原料
/// </summary>
[Table("ProductPlanning_Material")]
public partial class ProductPlanning_Material : BaseEntity
{
    /// <summary>
    /// 物料编码
    /// </summary>
    public string? MaterialsCode { get; set; }

    /// <summary>
    /// 物料名称
    /// </summary>
    public string? MaterialsName { get; set; }

    /// <summary>
    /// 供应商
    /// </summary>
    public string? Supplier { get; set; }

    /// <summary>
    /// 规格
    /// </summary>
    public string? Specification { get; set; }

    /// <summary>
    /// 型号
    /// </summary>
    public string? ModelNumber { get; set; }

    /// <summary>
    /// 计量单位
    /// </summary>
    public string? MeasuringUnitId { get; set; }


    //public virtual ICollection<ProductPlanning_ProductBillDetial> ProductPlanningProductBillDetials { get; set; } = new List<ProductPlanning_ProductBillDetial>();
}
